<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".view.Activities.NewParkActivity"
    android:background="?attr/main_background">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingHorizontal="@dimen/_20sdp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/add_park_status"
            android:layout_marginTop="@dimen/_10sdp"
            android:textColor="?attr/main_text_color"
            android:textSize="@dimen/_19sdp"
            android:textStyle="bold" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:fontFamily="@font/inter_medium"
            android:text="Заполните форму"
            android:textColor="?attr/title_EditText_text_color"
            android:textSize="@dimen/_13sdp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/_7sdp"
            android:layout_marginTop="@dimen/_5sdp"
            android:layout_marginBottom="@dimen/_3sdp"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="22dp"
                android:fontFamily="@font/inter_semibold"
                android:text="Название"
                android:textColor="?attr/title_EditText_text_color"
                android:textSize="@dimen/_11ssp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:fontFamily="@font/inter_semibold"
                android:text="*"
                android:textColor="?attr/red_dot"
                android:textSize="@dimen/_12ssp" />
        </LinearLayout>

        <EditText
            android:id="@+id/et_Name"
            android:layout_width="match_parent"
            android:layout_height="@dimen/_40sdp"
            android:background="@drawable/edit_text_form"
            android:fontFamily="@font/inter_medium"
            android:hint="Название"
            android:inputType="text"
            android:paddingHorizontal="@dimen/_9sdp"
            android:paddingVertical="@dimen/_5sdp"
            android:textColor="?attr/EditText_text_color"
            android:textSize="@dimen/_12sdp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/_7sdp"
            android:layout_marginTop="@dimen/_7sdp"
            android:layout_marginBottom="@dimen/_3sdp"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="22dp"
                android:fontFamily="@font/inter_semibold"
                android:text="Адрес"
                android:textColor="?attr/title_EditText_text_color"
                android:textSize="@dimen/_11ssp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:fontFamily="@font/inter_semibold"
                android:text="*"
                android:textColor="?attr/red_dot"
                android:textSize="@dimen/_12ssp" />
        </LinearLayout>

        <EditText
            android:id="@+id/et_address"
            android:layout_width="match_parent"
            android:layout_height="@dimen/_40sdp"
            android:background="@drawable/edit_text_form"
            android:fontFamily="@font/inter_medium"
            android:hint="Улица"
            android:inputType="text"
            android:paddingHorizontal="@dimen/_9sdp"
            android:paddingVertical="@dimen/_5sdp"
            android:textColor="?attr/EditText_text_color"
            android:textSize="@dimen/_12sdp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/_7sdp"
            android:layout_marginTop="@dimen/_7sdp"
            android:layout_marginBottom="@dimen/_3sdp"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="22dp"
                android:fontFamily="@font/inter_semibold"
                android:text="Описание"
                android:textColor="?attr/title_EditText_text_color"
                android:textSize="@dimen/_11ssp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:fontFamily="@font/inter_semibold"
                android:text="*"
                android:textColor="?attr/red_dot"
                android:textSize="@dimen/_12ssp" />
        </LinearLayout>

        <EditText
            android:id="@+id/et_desc"
            android:layout_width="match_parent"
            android:layout_height="@dimen/_70sdp"
            android:background="@drawable/edit_text_form"
            android:fontFamily="@font/inter_medium"
            android:gravity="left"
            android:hint="Дополнительная информация..."
            android:inputType="text"
            android:paddingHorizontal="@dimen/_9sdp"
            android:paddingVertical="@dimen/_5sdp"
            android:textColor="?attr/EditText_text_color"
            android:textSize="@dimen/_12sdp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/_3sdp"
            android:orientation="horizontal">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_marginHorizontal="@dimen/_5sdp"
                android:orientation="vertical">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="@dimen/_7sdp"
                    android:layout_marginTop="@dimen/_5sdp"
                    android:layout_marginBottom="@dimen/_3sdp"
                    android:orientation="horizontal">

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="22dp"
                        android:fontFamily="@font/inter_semibold"
                        android:text="Кол. мест"
                        android:textColor="?attr/title_EditText_text_color"
                        android:textSize="@dimen/_11ssp" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:fontFamily="@font/inter_semibold"
                        android:text="*"
                        android:textColor="?attr/red_dot"
                        android:textSize="@dimen/_12ssp" />
                </LinearLayout>

                <EditText
                    android:id="@+id/et_freePlaces"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/_40sdp"
                    android:background="@drawable/edit_text_form"
                    android:fontFamily="@font/inter_medium"
                    android:hint="20"
                    android:inputType="number"
                    android:paddingHorizontal="@dimen/_9sdp"
                    android:paddingVertical="@dimen/_5sdp"
                    android:textColor="?attr/EditText_text_color"
                    android:textSize="@dimen/_12sdp" />
            </LinearLayout>



            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:layout_marginHorizontal="@dimen/_5sdp"
                android:orientation="vertical">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="@dimen/_7sdp"
                    android:layout_marginTop="@dimen/_5sdp"
                    android:layout_marginBottom="@dimen/_3sdp"
                    android:orientation="horizontal">

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="22dp"
                        android:fontFamily="@font/inter_semibold"
                        android:text="Цена в час"
                        android:textColor="?attr/title_EditText_text_color"
                        android:textSize="@dimen/_11ssp" />

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:fontFamily="@font/inter_semibold"
                        android:text="*"
                        android:textColor="?attr/red_dot"
                        android:textSize="@dimen/_12ssp" />
                </LinearLayout>

                <EditText
                    android:id="@+id/et_Price"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/_40sdp"
                    android:background="@drawable/edit_text_form"
                    android:fontFamily="@font/inter_medium"
                    android:hint="450"
                    android:inputType="number"
                    android:paddingHorizontal="@dimen/_9sdp"
                    android:paddingVertical="@dimen/_5sdp"
                    android:textColor="?attr/EditText_text_color"
                    android:textSize="@dimen/_12sdp" />
            </LinearLayout>
        </LinearLayout>

        <TextView
            android:id="@+id/getCoord"
            android:layout_width="match_parent"
            android:layout_height="@dimen/_40sdp"
            android:layout_marginTop="@dimen/_10sdp"
            android:background="@drawable/button_active_menu"
            android:foreground="@drawable/background_profile_menu_ripple"
            android:gravity="center"
            android:text="Получить места"
            android:textAllCaps="false"
            android:textColor="?attr/title_EditText_text_color"
            android:textSize="@dimen/_13sdp" />

        <LinearLayout
            android:id="@+id/showMap"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:visibility="gone">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:fontFamily="@font/inter_medium"
                android:text="Карта парковки"
                android:layout_marginStart="@dimen/_8sdp"
                android:textColor="?attr/title_EditText_text_color"
                android:textSize="@dimen/_13sdp" />

            <androidx.cardview.widget.CardView
                android:layout_width="match_parent"
                android:layout_height="@dimen/_160sdp"
                android:background="@android:color/transparent"
                android:outlineSpotShadowColor="@color/purple"
                app:cardCornerRadius="15dp"
                android:layout_marginTop="@dimen/_4sdp"
                app:cardElevation="0dp"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent">
                <fragment
                    android:id="@+id/map"
                    android:name="com.google.android.gms.maps.SupportMapFragment"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/_160sdp" />
            </androidx.cardview.widget.CardView>


            <androidx.cardview.widget.CardView
                android:id="@+id/cv_next"
                android:layout_width="@dimen/_200sdp"
                android:layout_height="@dimen/_40sdp"
                android:layout_marginHorizontal="@dimen/_40sdp"
                android:layout_marginTop="@dimen/_10sdp"
                android:layout_marginBottom="30dp"
                android:background="@android:color/transparent"
                android:outlineSpotShadowColor="@color/purple"
                app:cardCornerRadius="15dp"
                app:cardElevation="15dp"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent">

                <androidx.appcompat.widget.AppCompatButton
                    android:id="@+id/bt_next"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="@drawable/background_button_ripple"
                    android:fontFamily="@font/inter_semibold"
                    android:paddingVertical="@dimen/_7sdp"
                    android:text="Создать"
                    android:textAllCaps="false"
                    android:textColor="?attr/white"
                    android:textSize="@dimen/_15ssp" />
            </androidx.cardview.widget.CardView>

        </LinearLayout>

        <View
            android:layout_width="@dimen/_20sdp"
            android:layout_height="@dimen/_20sdp" />
    </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>